cmake_minimum_required (VERSION 2.6)
project (BoostSerialization)

if( UNIX )
# set collection of libraries
    set ( EXTRA_LIBS ${EXTRA_LIBS} ShudaLib OpenNI boost_system boost_filesystem boost_serialization yaml-cpp glut GLU opencv_core
opencv_highgui opencv_calib3d opencv_features2d opencv_video opencv_imgproc )
elseif( WIN32 )
	include_directories ( $ENV{BOOST_INCLUDE_DIR} ) 
    link_directories ( $ENV{BOOST_LIB_DIR} )
endif()																																																


add_executable(BoostSerialization main.cpp)
# link with the 3d party libraries
target_link_libraries( BoostSerialization ${EXTRA_LIBS} )
